/*
 * @Date: 2023-03-12 21:04:05
 * @LastEditors: Zireael 1193875164@qq.com
 * @LastEditTime: 2023-03-14 18:49:08
 * @FilePath: \A19\backend\src\shared\protocols\Charts\PtlGetAllData.ts
 */
/*
 * @Date: 2023-03-12 21:04:05
 * @LastEditors: Zireael 1193875164@qq.com
 * @LastEditTime: 2023-03-14 16:14:46
 * @FilePath: \A19\backend\src\shared\protocols\Charts\PtlGetAllData.ts
 */
import { ObjectId } from "mongodb";
import { BaseRequest, BaseResponse, BaseConf } from "../base";

export interface ReqGetAllData extends BaseRequest {
    course:ObjectId;
    source:'homework' | 'test' | 'experiment'
}

export interface ResGetAllData extends BaseResponse {
    datas:any
}

export const conf: BaseConf = {
    needLogin: true 
}